import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/hrms/recruitment/positions/` + url, ...arg)
export default {
	pageList(data) {
		return request('pageList', data, 'post')
	},
	insertOrEdit(data) {
		return request('insertOrEdit', data, 'post')
	},
	getPositionsGroupByCity() {
		return request('getPositionsGroupByCity', null, 'get')
	},
	listAll() {
		return request('listAll', null, 'get')
	}
}
